module.exports = function (sequelize, DataTypes) {
    return sequelize.define(
        'role', {
            id: {
                type: DataTypes.INTEGER,
                primaryKey: true,
                autoIncrement: true,
                comment: '主键'
            },
            role_name: {
                type: DataTypes.STRING,
                field: 'role_name',
                comment: '角色名'
            },
            description: {
                type: DataTypes.STRING,
                field: 'description',
                comment: '角色描述'
            }
        }
    );
}